package com.snail.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.snail.common.PageRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * @author Monica
 * @description
 * @date 2025/7/25 17:17
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class BizPostPageListVo extends PageRequest {

//    private Integer userId;
    private Integer teamId;
    private String title;
    private String tagId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startPublishTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endPublishTime;
}
